package com.simoniu.entity;


import java.io.Serializable;

public class Students implements Serializable,Cloneable {

    private Integer sid; //学号
    private String sname; //姓名
    private String gender; //密码


    public Students() {
    }

    public Students(Integer sid, String sname, String gender) {
        this.sid = sid;
        this.sname = sname;
        this.gender = gender;
    }

    public Students( String sname, String gender) {

        this.sname = sname;
        this.gender = gender;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Students{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
